/* 全局容器 */
.dashboard {
  position: relative;
  width: 100vw;
  height: 100vh;
  min-height: 1200px;
  background: linear-gradient(135deg, #001122 0%, #003366 50%, #001133 100%);
  overflow-y: auto;
  overflow-x: hidden;
  color: #ffffff;
  font-family: 'Microsoft YaHei', sans-serif;
  animation: backgroundPulse 10s ease-in-out infinite alternate;
}

/* 背景效果 */
.dashboard::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
  animation: backgroundPulse 6s ease-in-out infinite;
}

/* 科技感边框 */
.techBorder {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border: 2px solid #00ffff;
  border-radius: 10px;
  box-shadow: 
    0 0 20px rgba(0, 255, 255, 0.3),
    inset 0 0 20px rgba(0, 255, 255, 0.1);
  animation: borderGlow 4s ease-in-out infinite alternate;
}

/* 头部区域 */
.header {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 30px;
  z-index: 10;
}

/* 标题 */
.title {
  font-size: 28px;
  font-weight: bold;
  color: #00ffff;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
  margin: 0;
  animation: titleGlow 3s ease-in-out infinite alternate;
}

/* 时间显示 */
.timeDisplay {
  font-size: 18px;
  color: #ffffff;
  background: rgba(0, 255, 255, 0.1);
  border: 1px solid #00ffff;
  border-radius: 5px;
  padding: 8px 15px;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
  animation: timeBlink 2s ease-in-out infinite;
}

/* 筛选信息 */
.filterInfo {
  font-size: 14px;
  color: #00ffff;
  background: rgba(0, 255, 255, 0.05);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 5px;
  padding: 6px 12px;
  box-shadow: 0 0 5px rgba(0, 255, 255, 0.2);
  animation: filterInfoPulse 3s ease-in-out infinite;
}

/* 角落数字 */
.cornerNumber {
  position: absolute;
  font-size: 24px;
  font-weight: bold;
  text-shadow: 0 0 10px currentColor;
  z-index: 999;
  animation: numberPulse 2s ease-in-out infinite;
  background: rgba(0, 0, 0, 0.3);
  padding: 5px 10px;
  border-radius: 5px;
  backdrop-filter: blur(5px);
}

.cornerNumber.topLeft {
  top: 20px;
  left: 20px;
  color: #00ffff;
}

.cornerNumber.bottomLeft {
  bottom: 20px;
  left: 20px;
  color: #ff0000;
}

.cornerNumber.rightCenter {
  bottom: 50%;
  right: 20px;
  color: #ff0000;
}

/* 全局筛选栏 */
.globalFilterBar {
  position: absolute;
  top: 120px;
  left: 30px;
  right: 30px;
  background: rgba(0, 20, 40, 0.9);
  border: 1px solid #00ffff;
  border-radius: 10px;
  padding: 15px 20px;
  backdrop-filter: blur(15px);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
  z-index: 15;
  animation: filterBarSlideDown 1s ease-out;
}

.quickFilters {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.filterGroup {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filterLabel {
  font-size: 14px;
  color: #00ffff;
  font-weight: bold;
  text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
  min-width: 40px;
}

.quickSelect {
  background: rgba(0, 20, 40, 0.8);
  border: 1px solid #00ffff;
  color: #ffffff;
  padding: 8px 12px;
  border-radius: 5px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  box-shadow: 0 0 5px rgba(0, 255, 255, 0.2);
  min-width: 120px;
}

.quickSelect:hover {
  border-color: #ffffff;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.4);
  transform: translateY(-1px);
}

.quickSelect:focus {
  outline: none;
  border-color: #ffffff;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.6);
}

.quickSelect option {
  background: rgba(0, 20, 40, 0.95);
  color: #ffffff;
  padding: 5px;
}

.refreshButton {
  background: rgba(0, 255, 0, 0.1);
  border: 1px solid #00ff00;
  color: #00ff00;
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 12px;
  font-weight: bold;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 100px;
  justify-content: center;
}

.refreshButton:hover {
  background: rgba(0, 255, 0, 0.2);
  transform: translateY(-1px);
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.4);
}

.refreshButton:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.advancedFilterButton {
  background: rgba(255, 165, 0, 0.1);
  border: 1px solid #ff8800;
  color: #ff8800;
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 12px;
  font-weight: bold;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 100px;
  justify-content: center;
}

.advancedFilterButton:hover {
  background: rgba(255, 165, 0, 0.2);
  transform: translateY(-1px);
  box-shadow: 0 0 10px rgba(255, 136, 0, 0.4);
}

.exportButton {
  background: rgba(138, 43, 226, 0.1);
  border: 1px solid #8a2be2;
  color: #8a2be2;
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 12px;
  font-weight: bold;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 100px;
  justify-content: center;
}

.exportButton:hover {
  background: rgba(138, 43, 226, 0.2);
  transform: translateY(-1px);
  box-shadow: 0 0 10px rgba(138, 43, 226, 0.4);
}

.exportButton:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.refreshIcon,
.exportIcon {
  font-size: 14px;
  animation: iconFloat 3s ease-in-out infinite;
}

.refreshButton:hover .refreshIcon {
  animation: iconSpin 1s linear infinite;
}

/* 布局网格 */
.grid {
  position: absolute;
  top: 200px;
  left: 30px;
  right: 30px;
  bottom: 0px;
  display: grid;
  grid-template-columns: 280px 1fr 280px;
  grid-template-rows: 420px 1fr;
  gap: 15px;
  z-index: 5;
  min-height: 800px;
  padding-bottom: 30px;
}

/* 左侧面板 */
.leftPanel {
  grid-column: 1;
  grid-row: 1 / 3;
  background: rgba(0, 20, 40, 0.6);
  border: 1px solid #00ffff;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
  padding: 15px;
  position: relative;
  backdrop-filter: blur(10px);
  animation: panelSlideIn 1s ease-out;
  overflow-y: auto;
}

/* 右侧面板 */
.rightPanel {
  grid-column: 3;
  grid-row: 1 / 3;
  background: rgba(0, 20, 40, 0.6);
  border: 1px solid #00ffff;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
  padding: 15px;
  position: relative;
  backdrop-filter: blur(10px);
  animation: panelSlideIn 1s ease-out 0.2s both;
  overflow-y: auto;
}

/* 中央区域 */
.centralArea {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: centralFadeIn 1s ease-out 0.5s both;
  z-index: 10;
  min-height: 420px;
  height: 100%;
}

/* 底部区域 */
.bottomArea {
  grid-column: 1 / 4;
  grid-row: 2;
  background: rgba(0, 20, 40, 0.6);
  border: 1px solid #00ffff;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
  padding: 20px;
  backdrop-filter: blur(10px);
  animation: panelSlideUp 1s ease-out 0.7s both;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 500px;
  height: 100%;
}

/* Dashboard滚动条样式 */
.dashboard::-webkit-scrollbar {
  width: 12px;
}

.dashboard::-webkit-scrollbar-track {
  background: rgba(0, 20, 40, 0.5);
  border-radius: 6px;
  border: 1px solid rgba(0, 255, 255, 0.2);
}

.dashboard::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #00ffff 0%, #0080ff 100%);
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
  border: 1px solid rgba(0, 255, 255, 0.3);
}

.dashboard::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #00cccc 0%, #0066cc 100%);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.8);
}

/* 表格头部 */
.tableHeader {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: bold;
  color: #00ffff;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
  justify-content: space-between;
}

/* 表格计数器 */
.tableCount {
  font-size: 12px;
  color: #ffffff;
  background: rgba(0, 255, 255, 0.1);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 10px;
  padding: 3px 8px;
  animation: countPulse 2s ease-in-out infinite;
}

/* 表格容器 */
.tableContainer {
  flex: 1;
  overflow-y: auto;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.2);
  min-height: 350px;
  max-height: none;
}

/* 表格容器滚动条 */
.tableContainer::-webkit-scrollbar {
  width: 8px;
}

.tableContainer::-webkit-scrollbar-track {
  background: rgba(0, 20, 40, 0.5);
  border-radius: 4px;
}

.tableContainer::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #00ffff 0%, #0080ff 100%);
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.tableContainer::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #00cccc 0%, #0066cc 100%);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

/* 圆形指标容器 */
.circleIndicators {
  position: relative;
  width: 100%;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 12;
}

/* 圆形指标 */
.circleIndicator {
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
  border: 2px solid #00ffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
  animation: circleFloat 3s ease-in-out infinite;
  padding: 8px;
  gap: 2px;
}

.circleIndicator:hover,
.circleIndicator.hovered {
  transform: scale(1.15);
  box-shadow: 0 0 40px rgba(0, 255, 255, 0.6);
  animation-play-state: paused;
  border-color: #ffffff;
  background: radial-gradient(circle, rgba(0, 255, 255, 0.2) 0%, transparent 70%);
}

.circleIndicator.topLeft {
  top: 20px;
  left: 50px;
  animation-delay: 0s;
}

.circleIndicator.topRight {
  top: 20px;
  right: 50px;
  animation-delay: 0.5s;
}

.circleIndicator.bottomLeft {
  bottom: 20px;
  left: 50px;
  animation-delay: 1s;
}

.circleIndicator.bottomRight {
  bottom: 20px;
  right: 50px;
  animation-delay: 1.5s;
}

/* 圆形指标文本 */
.circleTitle {
  font-size: 11px;
  color: #00ffff;
  text-align: center;
  font-weight: bold;
  margin-bottom: 2px;
}

.circleValue {
  font-size: 18px;
  font-weight: bold;
  color: #ffffff;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
  margin-bottom: 1px;
}

.circleUnit {
  font-size: 10px;
  color: #00ffff;
  margin-bottom: 2px;
}

.circlePercentage {
  font-size: 10px;
  color: #ffffff;
  font-weight: bold;
}

/* 进度条 */
.progressBar {
  width: 80%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  margin: 3px 0;
}

.progressFill {
  height: 100%;
  transition: width 0.5s ease;
  border-radius: 2px;
  animation: progressPulse 2s ease-in-out infinite;
}

/* 中央仪表盘 */
.centralDashboard {
  position: relative;
  width: 360px;
  height: 240px;
  margin: 30px auto;
  cursor: pointer;
  z-index: 15;
}

/* 主要圆环 - 调整为椭圆形 */
.mainCircle {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    #00ffff 0deg,
    #0080ff 72deg,
    #4080ff 144deg,
    #8080ff 216deg,
    #c080ff 288deg,
    #00ffff 360deg
  );
  animation: rotate 10s linear infinite;
  padding: 8px;
  box-sizing: border-box;
  filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.5));
}

.mainCircle::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  bottom: 8px;
  background: radial-gradient(ellipse, rgba(0, 20, 40, 0.9) 0%, rgba(0, 20, 40, 0.7) 100%);
  border-radius: 50%;
  box-shadow: inset 0 0 30px rgba(0, 255, 255, 0.2);
}

/* 中心内容 */
.centralContent {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
  width: 280px;
}

.centralValue {
  font-size: 36px;
  font-weight: bold;
  color: #ffffff;
  text-shadow: 0 0 15px rgba(0, 255, 255, 0.8);
  margin-bottom: 3px;
  animation: valueGlow 2s ease-in-out infinite alternate;
}

.centralUnit {
  font-size: 16px;
  color: #00ffff;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
  margin-bottom: 8px;
}

.subValues {
  font-size: 11px;
  line-height: 1.4;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 8px;
}

.subValue {
  margin: 1px 0;
  opacity: 0.9;
  white-space: nowrap;
}

/* 装饰性圆环 */
.decorativeRings {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 200px;
  border-radius: 50%;
  border: 1px solid rgba(0, 255, 255, 0.3);
  animation: pulse 3s ease-in-out infinite;
}

.decorativeRings::before {
  content: '';
  position: absolute;
  top: -15px;
  left: -20px;
  right: -20px;
  bottom: -15px;
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 50%;
  animation: pulse 3s ease-in-out infinite reverse;
}

/* 数据表格 */
.dataTable {
  width: 100%;
  border-collapse: collapse;
  color: #ffffff;
  animation: tableSlideIn 1s ease-out;
  font-size: 14px;
  background: rgba(0, 10, 20, 0.3);
  border-radius: 8px;
  overflow: hidden;
}

.dataTable th,
.dataTable td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid rgba(0, 255, 255, 0.3);
}

.dataTable th {
  background: rgba(0, 255, 255, 0.15);
  color: #00ffff;
  font-weight: bold;
  text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
  font-size: 13px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.dataTable tr {
  animation: tableRowSlideIn 0.5s ease-out;
  transition: all 0.3s ease;
}

.dataTable tr:hover {
  background: rgba(0, 255, 255, 0.08);
  transform: translateX(3px);
  transition: all 0.3s ease;
}

.dataTable tr:nth-child(even) {
  background: rgba(0, 20, 40, 0.2);
}

.storeName {
  color: #00ffff;
  font-weight: bold;
}

.category {
  color: #cccccc;
  font-size: 12px;
  max-width: 200px;
  word-wrap: break-word;
}

.amount {
  color: #00ff00;
  font-weight: bold;
  text-align: right;
  font-family: monospace;
}

/* 状态标签 */
.statusNormal {
  color: #00ff00;
  background: rgba(0, 255, 0, 0.1);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 10px;
  animation: statusPulse 2s ease-in-out infinite;
  border: 1px solid rgba(0, 255, 0, 0.3);
}

.statusWarning {
  color: #ffff00;
  background: rgba(255, 255, 0, 0.1);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 10px;
  animation: statusPulse 2s ease-in-out infinite;
  border: 1px solid rgba(255, 255, 0, 0.3);
}

.statusError {
  color: #ff0000;
  background: rgba(255, 0, 0, 0.1);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 10px;
  animation: statusBlink 1s ease-in-out infinite alternate;
  border: 1px solid rgba(255, 0, 0, 0.3);
}

/* 侧边面板标题 */
.panelTitle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: bold;
  color: #00ffff;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
  margin-bottom: 15px;
  text-align: center;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0, 255, 255, 0.3);
  animation: titlePulse 3s ease-in-out infinite;
}

.titleIcon {
  font-size: 16px;
  animation: iconRotate 3s ease-in-out infinite;
}

/* 侧边面板项目 */
.panelItem {
  margin-bottom: 12px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(0, 255, 255, 0.1);
  transition: all 0.3s ease;
  animation: itemSlideIn 0.5s ease-out;
  border-radius: 5px;
}

.panelItem:hover {
  background: rgba(0, 255, 255, 0.05);
  transform: translateX(5px);
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
  border-color: rgba(0, 255, 255, 0.3);
}

.itemHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}

.panelLabel {
  color: #ffffff;
  font-size: 11px;
}

.panelValue {
  font-size: 12px;
  font-weight: bold;
  text-shadow: 0 0 5px rgba(0, 255, 255, 0.3);
  animation: valueFlicker 3s ease-in-out infinite;
}

/* Tooltip */
.tooltip {
  position: fixed;
  background: rgba(0, 20, 40, 0.95);
  border: 1px solid #00ffff;
  border-radius: 8px;
  padding: 10px;
  z-index: 1000;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
  animation: tooltipFadeIn 0.3s ease-out;
}

.tooltipTitle {
  color: #00ffff;
  font-weight: bold;
  margin-bottom: 5px;
  font-size: 14px;
}

.tooltipContent {
  color: #ffffff;
  font-size: 12px;
  line-height: 1.4;
}

.tooltipContent div {
  margin: 2px 0;
}

/* 筛选器按钮 */
.filterButton {
  /* position: fixed; */
  top: 20px;
  right: 20px;
  background: rgba(0, 255, 255, 0.1);
  border: 1px solid #00ffff;
  color: #00ffff;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 20;
  font-size: 14px;
  backdrop-filter: blur(10px);
  animation: buttonFloat 2s ease-in-out infinite;
  display: flex;
  align-items: center;
  gap: 8px;
}

.filterButton:hover {
  background: rgba(0, 255, 255, 0.2);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
  transform: translateY(-2px);
  animation-play-state: paused;
}

.filterIcon {
  font-size: 16px;
  animation: iconSpin 4s linear infinite;
}

/* 加载动画 */
.loading {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
  text-align: center;
}

.loadingSpinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(0, 255, 255, 0.3);
  border-top: 3px solid #00ffff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.5));
  margin-bottom: 10px;
}

.loadingText {
  color: #00ffff;
  font-size: 14px;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

/* 动画关键帧 */
@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.05);
    opacity: 0.8;
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes backgroundPulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

@keyframes borderGlow {
  0% {
    box-shadow: 
      0 0 20px rgba(0, 255, 255, 0.3),
      inset 0 0 20px rgba(0, 255, 255, 0.1);
  }
  100% {
    box-shadow: 
      0 0 40px rgba(0, 255, 255, 0.5),
      inset 0 0 30px rgba(0, 255, 255, 0.2);
  }
}

@keyframes titleGlow {
  0% {
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
  }
  100% {
    text-shadow: 0 0 20px rgba(0, 255, 255, 1);
  }
}

@keyframes timeBlink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

@keyframes numberPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.9;
  }
}

@keyframes circleFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes valueFlicker {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

@keyframes valueGlow {
  0% {
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.8);
  }
  100% {
    text-shadow: 0 0 25px rgba(0, 255, 255, 1);
  }
}

@keyframes progressPulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

@keyframes statusPulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

@keyframes statusBlink {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0.5;
  }
}

@keyframes titlePulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

@keyframes iconRotate {
  0%, 100% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(10deg);
  }
}

@keyframes iconSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes itemSlideIn {
  from {
    transform: translateX(-20px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes buttonFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

@keyframes panelSlideIn {
  from {
    transform: translateX(-100px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes centralFadeIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes panelSlideUp {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes tableSlideIn {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes tableRowSlideIn {
  from {
    transform: translateX(-20px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes tooltipFadeIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes filterInfoPulse {
  0%, 100% {
    opacity: 0.8;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.02);
  }
}

@keyframes countPulse {
  0%, 100% {
    opacity: 0.8;
  }
  50% {
    opacity: 1;
  }
}

/* 自定义滚动条 */
.leftPanel::-webkit-scrollbar,
.rightPanel::-webkit-scrollbar {
  width: 6px;
}

.leftPanel::-webkit-scrollbar-track,
.rightPanel::-webkit-scrollbar-track {
  background: rgba(0, 20, 40, 0.5);
  border-radius: 3px;
}

.leftPanel::-webkit-scrollbar-thumb,
.rightPanel::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #00ffff 0%, #0080ff 100%);
  border-radius: 3px;
}

.leftPanel::-webkit-scrollbar-thumb:hover,
.rightPanel::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #00cccc 0%, #0066cc 100%);
}

/* 响应式设计 */
@media (max-width: 1600px) {
  .grid {
    grid-template-columns: 280px 1fr 280px;
    grid-template-rows: 1fr 260px;
  }
  
  .centralDashboard {
    width: 280px;
    height: 280px;
  }
  
  .circleIndicator {
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 1400px) {
  .grid {
    grid-template-columns: 250px 1fr 250px;
    grid-template-rows: 1fr 240px;
  }
  
  .centralDashboard {
    width: 250px;
    height: 250px;
  }
  
  .circleIndicator {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 1200px) {
  .grid {
    grid-template-columns: 200px 1fr 200px;
    grid-template-rows: 1fr 220px;
  }
  
  .centralDashboard {
    width: 200px;
    height: 200px;
  }
  
  .circleIndicator {
    width: 80px;
    height: 80px;
  }
  
  .circleValue {
    font-size: 14px;
  }
  
  .tableContainer {
    min-height: 150px;
  }
}

@media (max-width: 1000px) {
  .grid {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 300px;
    gap: 15px;
  }
  
  .leftPanel,
  .rightPanel {
    display: none;
  }
  
  .centralArea {
    grid-column: 1;
    grid-row: 1;
  }
  
  .bottomArea {
    grid-column: 1;
    grid-row: 2;
  }
  
  .tableContainer {
    min-height: 220px;
  }
}

@media (max-width: 768px) {
  .header {
    flex-direction: column;
    gap: 10px;
  }
  
  .title {
    font-size: 20px;
  }
  
  .timeDisplay,
  .filterInfo {
    font-size: 12px;
    padding: 4px 8px;
  }
  
  .grid {
    top: 120px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    grid-template-rows: 1fr 250px;
  }
  
  .centralDashboard {
    width: 180px;
    height: 180px;
  }
  
  .circleIndicator {
    width: 60px;
    height: 60px;
  }
  
  .circleValue {
    font-size: 12px;
  }
  
  .tableHeader {
    font-size: 14px;
  }
  
  .dataTable {
    font-size: 10px;
  }
  
  .dataTable th,
  .dataTable td {
    padding: 4px 6px;
  }
}

@keyframes filterBarSlideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes iconFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
}

@keyframes iconSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* 响应式设计 */
@media (max-width: 1400px) {
  .globalFilterBar {
    top: 110px;
    left: 20px;
    right: 20px;
    padding: 12px 15px;
  }
  
  .quickFilters {
    gap: 15px;
  }
  
  .filterGroup {
    gap: 6px;
  }
  
  .quickSelect {
    min-width: 100px;
  }
  
  .refreshButton,
  .advancedFilterButton,
  .exportButton {
    min-width: 80px;
    padding: 6px 12px;
  }
  
  .grid {
    top: 170px;
  }
}

@media (max-width: 1200px) {
  .globalFilterBar {
    top: 100px;
    left: 15px;
    right: 15px;
    padding: 10px 12px;
  }
  
  .quickFilters {
    gap: 12px;
    flex-wrap: wrap;
  }
  
  .filterGroup {
    flex-direction: column;
    gap: 4px;
  }
  
  .filterLabel {
    font-size: 12px;
    min-width: auto;
  }
  
  .quickSelect {
    min-width: 80px;
    font-size: 11px;
  }
  
  .refreshButton,
  .advancedFilterButton,
  .exportButton {
    min-width: 70px;
    padding: 5px 10px;
    font-size: 11px;
  }
  
  .grid {
    top: 160px;
  }
}

@media (max-width: 1000px) {
  .globalFilterBar {
    top: 90px;
    left: 10px;
    right: 10px;
    padding: 8px 10px;
  }
  
  .quickFilters {
    gap: 10px;
    justify-content: center;
  }
  
  .filterGroup {
    min-width: 100px;
  }
  
  .grid {
    top: 180px;
  }
}

@media (max-width: 768px) {
  .globalFilterBar {
    top: 80px;
    left: 5px;
    right: 5px;
    padding: 6px 8px;
  }
  
  .quickFilters {
    gap: 8px;
    flex-direction: column;
    align-items: stretch;
  }
  
  .filterGroup {
    flex-direction: row;
    justify-content: space-between;
  }
  
  .filterLabel {
    flex: 1;
    text-align: left;
  }
  
  .quickSelect {
    flex: 2;
  }
  
  .refreshButton,
  .advancedFilterButton,
  .exportButton {
    flex: 1;
    min-width: auto;
  }
  
  .grid {
    top: 240px;
  }
} 

/* 滚动指示器 */
.scrollIndicator {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 100;
  background: rgba(0, 20, 40, 0.8);
  border: 1px solid #00ffff;
  border-radius: 20px;
  padding: 10px 15px;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
  animation: scrollPulse 2s ease-in-out infinite;
  cursor: pointer;
  transition: all 0.3s ease;
}

.scrollIndicator:hover {
  transform: translateX(-50%) scale(1.1);
  background: rgba(0, 40, 80, 0.9);
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.6);
  animation-play-state: paused;
}

.scrollArrow {
  font-size: 20px;
  color: #00ffff;
  animation: scrollBounce 1.5s ease-in-out infinite;
  margin-bottom: 5px;
}

.scrollText {
  font-size: 12px;
  color: #ffffff;
  text-align: center;
  white-space: nowrap;
} 

@keyframes scrollPulse {
  0%, 100% {
    opacity: 0.7;
    transform: translateX(-50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) scale(1.05);
  }
}

@keyframes scrollBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
} 